import 'package:word_game/battle/monster_manager.dart';
import 'package:word_game/engine/core.dart';
import 'package:word_game/battle/battle.dart';

class NewMonsterEvent extends Eventable {
  NewMonsterEvent(String name) : super(name);
  @override
  void doEvent(owner) {
    Sightable sightable = owner as Sightable;
    var zombie = MonsterManager.instance.objectWithCode('zombie');
    sightable.add(zombie);
  }
}